//
//  MYGCommunityCommunityModel.swift
//  MYGrow
//
//  Created by lance on 2024/3/3.
//

import UIKit
import HandyJSON

class MYGCommunityCommunityModel: HandyJSON {
    var name = ""
    var id = 0
    var remark = ""
    var created_at = ""
    var updated_at = ""
    var deleted_at = ""
    var experienceCount = 0
    var helpCount = 0
    var patientCommunityCount = 0
    var img = ""
//
    required init() {}
}

extension MYGCommunityCommunityModel: MYGChooseViewModelProtocol {
    func getTitle() -> String {
        return name
    }
    
    func getUniqueValue() -> String {
        return String(id)
    }
    
    func getSubtitle() -> String {
        return ""
    }
}
